<?php
require_once 'models/productpage.inc';
require_once 'models/orm.inc';

class TCMSStickerModel extends TCandyModel {
	protected function afterConstruct(){
		$this->_conf_classname_ = 'TMSSticker';
	}
	
	public function ObjectId($object){
		return $object->Code;
	}
	
	protected function assignDummyId($object,$id = null){
		$object->Code = $id;
		return $object;
	}
}